export default function () {
  return{
      name:"",
      setViewName(name){this.name=name;return this},
      label:"",
      setViewLabel(label){this.label=label;return this},
      type:"",
      setViewType(v){this.type=v;return this;},
      span:3,
      setViewSpan(span){this.span=span;return this},
      spanSm:6,
      setViewSpanSm(span){this.spanSm=span;return this},

      setViewIsText(){this.type="text";return this},

      setViewIsPic(){this.type="pic";return this},
      setViewIsPics(){this.type="pics";return this},

      setViewIsFile(){this.type="file";return this},
      setViewIsFiles(){this.type="files";return this},

      setViewIsBool(){this.type="bool";return this},

      setViewIsDate(){this.type="date";return this},
      setViewIsDateTime(){this.type="datetime";return this},

      setViewIsColor(){this.type="color";return this},
      setViewIsBlank(){this.type="blank";return this},

      setViewIsStatus(){this.type="status";return this},

      objectKey:"",
      setViewIsObject(key){this.type="object";this.objectKey=key;return this},
      setViewIsObjectName(){this.type="object";this.objectKey="name";return this},
      setViewIsObjectTitle(){this.type="object";this.objectKey="title";return this},

      copy:false,
      setViewCopy(){this.copy=true;return this},
  }
}